package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QuotedpricehExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuotedpricehExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBillnoIsNull() {
            addCriterion("BillNo is null");
            return (Criteria) this;
        }

        public Criteria andBillnoIsNotNull() {
            addCriterion("BillNo is not null");
            return (Criteria) this;
        }

        public Criteria andBillnoEqualTo(String value) {
            addCriterion("BillNo =", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotEqualTo(String value) {
            addCriterion("BillNo <>", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoGreaterThan(String value) {
            addCriterion("BillNo >", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoGreaterThanOrEqualTo(String value) {
            addCriterion("BillNo >=", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLessThan(String value) {
            addCriterion("BillNo <", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLessThanOrEqualTo(String value) {
            addCriterion("BillNo <=", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLike(String value) {
            addCriterion("BillNo like", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotLike(String value) {
            addCriterion("BillNo not like", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoIn(List<String> values) {
            addCriterion("BillNo in", values, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotIn(List<String> values) {
            addCriterion("BillNo not in", values, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoBetween(String value1, String value2) {
            addCriterion("BillNo between", value1, value2, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotBetween(String value1, String value2) {
            addCriterion("BillNo not between", value1, value2, "billno");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNull() {
            addCriterion("ClientCode is null");
            return (Criteria) this;
        }

        public Criteria andClientcodeIsNotNull() {
            addCriterion("ClientCode is not null");
            return (Criteria) this;
        }

        public Criteria andClientcodeEqualTo(String value) {
            addCriterion("ClientCode =", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotEqualTo(String value) {
            addCriterion("ClientCode <>", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThan(String value) {
            addCriterion("ClientCode >", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ClientCode >=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThan(String value) {
            addCriterion("ClientCode <", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLessThanOrEqualTo(String value) {
            addCriterion("ClientCode <=", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeLike(String value) {
            addCriterion("ClientCode like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotLike(String value) {
            addCriterion("ClientCode not like", value, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeIn(List<String> values) {
            addCriterion("ClientCode in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotIn(List<String> values) {
            addCriterion("ClientCode not in", values, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeBetween(String value1, String value2) {
            addCriterion("ClientCode between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientcodeNotBetween(String value1, String value2) {
            addCriterion("ClientCode not between", value1, value2, "clientcode");
            return (Criteria) this;
        }

        public Criteria andClientchannelIsNull() {
            addCriterion("ClientChannel is null");
            return (Criteria) this;
        }

        public Criteria andClientchannelIsNotNull() {
            addCriterion("ClientChannel is not null");
            return (Criteria) this;
        }

        public Criteria andClientchannelEqualTo(String value) {
            addCriterion("ClientChannel =", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelNotEqualTo(String value) {
            addCriterion("ClientChannel <>", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelGreaterThan(String value) {
            addCriterion("ClientChannel >", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelGreaterThanOrEqualTo(String value) {
            addCriterion("ClientChannel >=", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelLessThan(String value) {
            addCriterion("ClientChannel <", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelLessThanOrEqualTo(String value) {
            addCriterion("ClientChannel <=", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelLike(String value) {
            addCriterion("ClientChannel like", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelNotLike(String value) {
            addCriterion("ClientChannel not like", value, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelIn(List<String> values) {
            addCriterion("ClientChannel in", values, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelNotIn(List<String> values) {
            addCriterion("ClientChannel not in", values, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelBetween(String value1, String value2) {
            addCriterion("ClientChannel between", value1, value2, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andClientchannelNotBetween(String value1, String value2) {
            addCriterion("ClientChannel not between", value1, value2, "clientchannel");
            return (Criteria) this;
        }

        public Criteria andContractnoIsNull() {
            addCriterion("ContractNo is null");
            return (Criteria) this;
        }

        public Criteria andContractnoIsNotNull() {
            addCriterion("ContractNo is not null");
            return (Criteria) this;
        }

        public Criteria andContractnoEqualTo(String value) {
            addCriterion("ContractNo =", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoNotEqualTo(String value) {
            addCriterion("ContractNo <>", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoGreaterThan(String value) {
            addCriterion("ContractNo >", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoGreaterThanOrEqualTo(String value) {
            addCriterion("ContractNo >=", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoLessThan(String value) {
            addCriterion("ContractNo <", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoLessThanOrEqualTo(String value) {
            addCriterion("ContractNo <=", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoLike(String value) {
            addCriterion("ContractNo like", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoNotLike(String value) {
            addCriterion("ContractNo not like", value, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoIn(List<String> values) {
            addCriterion("ContractNo in", values, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoNotIn(List<String> values) {
            addCriterion("ContractNo not in", values, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoBetween(String value1, String value2) {
            addCriterion("ContractNo between", value1, value2, "contractno");
            return (Criteria) this;
        }

        public Criteria andContractnoNotBetween(String value1, String value2) {
            addCriterion("ContractNo not between", value1, value2, "contractno");
            return (Criteria) this;
        }

        public Criteria andDemandnoIsNull() {
            addCriterion("DemandNo is null");
            return (Criteria) this;
        }

        public Criteria andDemandnoIsNotNull() {
            addCriterion("DemandNo is not null");
            return (Criteria) this;
        }

        public Criteria andDemandnoEqualTo(String value) {
            addCriterion("DemandNo =", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoNotEqualTo(String value) {
            addCriterion("DemandNo <>", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoGreaterThan(String value) {
            addCriterion("DemandNo >", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoGreaterThanOrEqualTo(String value) {
            addCriterion("DemandNo >=", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoLessThan(String value) {
            addCriterion("DemandNo <", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoLessThanOrEqualTo(String value) {
            addCriterion("DemandNo <=", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoLike(String value) {
            addCriterion("DemandNo like", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoNotLike(String value) {
            addCriterion("DemandNo not like", value, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoIn(List<String> values) {
            addCriterion("DemandNo in", values, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoNotIn(List<String> values) {
            addCriterion("DemandNo not in", values, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoBetween(String value1, String value2) {
            addCriterion("DemandNo between", value1, value2, "demandno");
            return (Criteria) this;
        }

        public Criteria andDemandnoNotBetween(String value1, String value2) {
            addCriterion("DemandNo not between", value1, value2, "demandno");
            return (Criteria) this;
        }

        public Criteria andBusinessIsNull() {
            addCriterion("Business is null");
            return (Criteria) this;
        }

        public Criteria andBusinessIsNotNull() {
            addCriterion("Business is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessEqualTo(String value) {
            addCriterion("Business =", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotEqualTo(String value) {
            addCriterion("Business <>", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessGreaterThan(String value) {
            addCriterion("Business >", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessGreaterThanOrEqualTo(String value) {
            addCriterion("Business >=", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessLessThan(String value) {
            addCriterion("Business <", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessLessThanOrEqualTo(String value) {
            addCriterion("Business <=", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessLike(String value) {
            addCriterion("Business like", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotLike(String value) {
            addCriterion("Business not like", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessIn(List<String> values) {
            addCriterion("Business in", values, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotIn(List<String> values) {
            addCriterion("Business not in", values, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessBetween(String value1, String value2) {
            addCriterion("Business between", value1, value2, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotBetween(String value1, String value2) {
            addCriterion("Business not between", value1, value2, "business");
            return (Criteria) this;
        }

        public Criteria andDccodeIsNull() {
            addCriterion("DCCode is null");
            return (Criteria) this;
        }

        public Criteria andDccodeIsNotNull() {
            addCriterion("DCCode is not null");
            return (Criteria) this;
        }

        public Criteria andDccodeEqualTo(String value) {
            addCriterion("DCCode =", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotEqualTo(String value) {
            addCriterion("DCCode <>", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeGreaterThan(String value) {
            addCriterion("DCCode >", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeGreaterThanOrEqualTo(String value) {
            addCriterion("DCCode >=", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLessThan(String value) {
            addCriterion("DCCode <", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLessThanOrEqualTo(String value) {
            addCriterion("DCCode <=", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeLike(String value) {
            addCriterion("DCCode like", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotLike(String value) {
            addCriterion("DCCode not like", value, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeIn(List<String> values) {
            addCriterion("DCCode in", values, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotIn(List<String> values) {
            addCriterion("DCCode not in", values, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeBetween(String value1, String value2) {
            addCriterion("DCCode between", value1, value2, "dccode");
            return (Criteria) this;
        }

        public Criteria andDccodeNotBetween(String value1, String value2) {
            addCriterion("DCCode not between", value1, value2, "dccode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNull() {
            addCriterion("DeptCode is null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIsNotNull() {
            addCriterion("DeptCode is not null");
            return (Criteria) this;
        }

        public Criteria andDeptcodeEqualTo(String value) {
            addCriterion("DeptCode =", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotEqualTo(String value) {
            addCriterion("DeptCode <>", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThan(String value) {
            addCriterion("DeptCode >", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeGreaterThanOrEqualTo(String value) {
            addCriterion("DeptCode >=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThan(String value) {
            addCriterion("DeptCode <", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLessThanOrEqualTo(String value) {
            addCriterion("DeptCode <=", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeLike(String value) {
            addCriterion("DeptCode like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotLike(String value) {
            addCriterion("DeptCode not like", value, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeIn(List<String> values) {
            addCriterion("DeptCode in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotIn(List<String> values) {
            addCriterion("DeptCode not in", values, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeBetween(String value1, String value2) {
            addCriterion("DeptCode between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andDeptcodeNotBetween(String value1, String value2) {
            addCriterion("DeptCode not between", value1, value2, "deptcode");
            return (Criteria) this;
        }

        public Criteria andBilldateIsNull() {
            addCriterion("BillDate is null");
            return (Criteria) this;
        }

        public Criteria andBilldateIsNotNull() {
            addCriterion("BillDate is not null");
            return (Criteria) this;
        }

        public Criteria andBilldateEqualTo(Date value) {
            addCriterion("BillDate =", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateNotEqualTo(Date value) {
            addCriterion("BillDate <>", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateGreaterThan(Date value) {
            addCriterion("BillDate >", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateGreaterThanOrEqualTo(Date value) {
            addCriterion("BillDate >=", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateLessThan(Date value) {
            addCriterion("BillDate <", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateLessThanOrEqualTo(Date value) {
            addCriterion("BillDate <=", value, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateIn(List<Date> values) {
            addCriterion("BillDate in", values, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateNotIn(List<Date> values) {
            addCriterion("BillDate not in", values, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateBetween(Date value1, Date value2) {
            addCriterion("BillDate between", value1, value2, "billdate");
            return (Criteria) this;
        }

        public Criteria andBilldateNotBetween(Date value1, Date value2) {
            addCriterion("BillDate not between", value1, value2, "billdate");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("Type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("Type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("Type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("Type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("Type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("Type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("Type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("Type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("Type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("Type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("Type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("Type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("Type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("Status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("Status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andQuoteddateIsNull() {
            addCriterion("QuotedDate is null");
            return (Criteria) this;
        }

        public Criteria andQuoteddateIsNotNull() {
            addCriterion("QuotedDate is not null");
            return (Criteria) this;
        }

        public Criteria andQuoteddateEqualTo(Date value) {
            addCriterion("QuotedDate =", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateNotEqualTo(Date value) {
            addCriterion("QuotedDate <>", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateGreaterThan(Date value) {
            addCriterion("QuotedDate >", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateGreaterThanOrEqualTo(Date value) {
            addCriterion("QuotedDate >=", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateLessThan(Date value) {
            addCriterion("QuotedDate <", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateLessThanOrEqualTo(Date value) {
            addCriterion("QuotedDate <=", value, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateIn(List<Date> values) {
            addCriterion("QuotedDate in", values, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateNotIn(List<Date> values) {
            addCriterion("QuotedDate not in", values, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateBetween(Date value1, Date value2) {
            addCriterion("QuotedDate between", value1, value2, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andQuoteddateNotBetween(Date value1, Date value2) {
            addCriterion("QuotedDate not between", value1, value2, "quoteddate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateIsNull() {
            addCriterion("ConfirmDate is null");
            return (Criteria) this;
        }

        public Criteria andConfirmdateIsNotNull() {
            addCriterion("ConfirmDate is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmdateEqualTo(Date value) {
            addCriterion("ConfirmDate =", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateNotEqualTo(Date value) {
            addCriterion("ConfirmDate <>", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateGreaterThan(Date value) {
            addCriterion("ConfirmDate >", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateGreaterThanOrEqualTo(Date value) {
            addCriterion("ConfirmDate >=", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateLessThan(Date value) {
            addCriterion("ConfirmDate <", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateLessThanOrEqualTo(Date value) {
            addCriterion("ConfirmDate <=", value, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateIn(List<Date> values) {
            addCriterion("ConfirmDate in", values, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateNotIn(List<Date> values) {
            addCriterion("ConfirmDate not in", values, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateBetween(Date value1, Date value2) {
            addCriterion("ConfirmDate between", value1, value2, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andConfirmdateNotBetween(Date value1, Date value2) {
            addCriterion("ConfirmDate not between", value1, value2, "confirmdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateIsNull() {
            addCriterion("RequestDate is null");
            return (Criteria) this;
        }

        public Criteria andRequestdateIsNotNull() {
            addCriterion("RequestDate is not null");
            return (Criteria) this;
        }

        public Criteria andRequestdateEqualTo(Date value) {
            addCriterion("RequestDate =", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateNotEqualTo(Date value) {
            addCriterion("RequestDate <>", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateGreaterThan(Date value) {
            addCriterion("RequestDate >", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateGreaterThanOrEqualTo(Date value) {
            addCriterion("RequestDate >=", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateLessThan(Date value) {
            addCriterion("RequestDate <", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateLessThanOrEqualTo(Date value) {
            addCriterion("RequestDate <=", value, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateIn(List<Date> values) {
            addCriterion("RequestDate in", values, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateNotIn(List<Date> values) {
            addCriterion("RequestDate not in", values, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateBetween(Date value1, Date value2) {
            addCriterion("RequestDate between", value1, value2, "requestdate");
            return (Criteria) this;
        }

        public Criteria andRequestdateNotBetween(Date value1, Date value2) {
            addCriterion("RequestDate not between", value1, value2, "requestdate");
            return (Criteria) this;
        }

        public Criteria andReplydateIsNull() {
            addCriterion("ReplyDate is null");
            return (Criteria) this;
        }

        public Criteria andReplydateIsNotNull() {
            addCriterion("ReplyDate is not null");
            return (Criteria) this;
        }

        public Criteria andReplydateEqualTo(Date value) {
            addCriterion("ReplyDate =", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateNotEqualTo(Date value) {
            addCriterion("ReplyDate <>", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateGreaterThan(Date value) {
            addCriterion("ReplyDate >", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateGreaterThanOrEqualTo(Date value) {
            addCriterion("ReplyDate >=", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateLessThan(Date value) {
            addCriterion("ReplyDate <", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateLessThanOrEqualTo(Date value) {
            addCriterion("ReplyDate <=", value, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateIn(List<Date> values) {
            addCriterion("ReplyDate in", values, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateNotIn(List<Date> values) {
            addCriterion("ReplyDate not in", values, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateBetween(Date value1, Date value2) {
            addCriterion("ReplyDate between", value1, value2, "replydate");
            return (Criteria) this;
        }

        public Criteria andReplydateNotBetween(Date value1, Date value2) {
            addCriterion("ReplyDate not between", value1, value2, "replydate");
            return (Criteria) this;
        }

        public Criteria andLastapproverIsNull() {
            addCriterion("lastApprover is null");
            return (Criteria) this;
        }

        public Criteria andLastapproverIsNotNull() {
            addCriterion("lastApprover is not null");
            return (Criteria) this;
        }

        public Criteria andLastapproverEqualTo(String value) {
            addCriterion("lastApprover =", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverNotEqualTo(String value) {
            addCriterion("lastApprover <>", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverGreaterThan(String value) {
            addCriterion("lastApprover >", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverGreaterThanOrEqualTo(String value) {
            addCriterion("lastApprover >=", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverLessThan(String value) {
            addCriterion("lastApprover <", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverLessThanOrEqualTo(String value) {
            addCriterion("lastApprover <=", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverLike(String value) {
            addCriterion("lastApprover like", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverNotLike(String value) {
            addCriterion("lastApprover not like", value, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverIn(List<String> values) {
            addCriterion("lastApprover in", values, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverNotIn(List<String> values) {
            addCriterion("lastApprover not in", values, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverBetween(String value1, String value2) {
            addCriterion("lastApprover between", value1, value2, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andLastapproverNotBetween(String value1, String value2) {
            addCriterion("lastApprover not between", value1, value2, "lastapprover");
            return (Criteria) this;
        }

        public Criteria andApprovedateIsNull() {
            addCriterion("ApproveDate is null");
            return (Criteria) this;
        }

        public Criteria andApprovedateIsNotNull() {
            addCriterion("ApproveDate is not null");
            return (Criteria) this;
        }

        public Criteria andApprovedateEqualTo(Date value) {
            addCriterion("ApproveDate =", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateNotEqualTo(Date value) {
            addCriterion("ApproveDate <>", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateGreaterThan(Date value) {
            addCriterion("ApproveDate >", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateGreaterThanOrEqualTo(Date value) {
            addCriterion("ApproveDate >=", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateLessThan(Date value) {
            addCriterion("ApproveDate <", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateLessThanOrEqualTo(Date value) {
            addCriterion("ApproveDate <=", value, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateIn(List<Date> values) {
            addCriterion("ApproveDate in", values, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateNotIn(List<Date> values) {
            addCriterion("ApproveDate not in", values, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateBetween(Date value1, Date value2) {
            addCriterion("ApproveDate between", value1, value2, "approvedate");
            return (Criteria) this;
        }

        public Criteria andApprovedateNotBetween(Date value1, Date value2) {
            addCriterion("ApproveDate not between", value1, value2, "approvedate");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusIsNull() {
            addCriterion("ConfirmStatus is null");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusIsNotNull() {
            addCriterion("ConfirmStatus is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusEqualTo(String value) {
            addCriterion("ConfirmStatus =", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusNotEqualTo(String value) {
            addCriterion("ConfirmStatus <>", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusGreaterThan(String value) {
            addCriterion("ConfirmStatus >", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusGreaterThanOrEqualTo(String value) {
            addCriterion("ConfirmStatus >=", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusLessThan(String value) {
            addCriterion("ConfirmStatus <", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusLessThanOrEqualTo(String value) {
            addCriterion("ConfirmStatus <=", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusLike(String value) {
            addCriterion("ConfirmStatus like", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusNotLike(String value) {
            addCriterion("ConfirmStatus not like", value, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusIn(List<String> values) {
            addCriterion("ConfirmStatus in", values, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusNotIn(List<String> values) {
            addCriterion("ConfirmStatus not in", values, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusBetween(String value1, String value2) {
            addCriterion("ConfirmStatus between", value1, value2, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andConfirmstatusNotBetween(String value1, String value2) {
            addCriterion("ConfirmStatus not between", value1, value2, "confirmstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusIsNull() {
            addCriterion("ContractStatus is null");
            return (Criteria) this;
        }

        public Criteria andContractstatusIsNotNull() {
            addCriterion("ContractStatus is not null");
            return (Criteria) this;
        }

        public Criteria andContractstatusEqualTo(String value) {
            addCriterion("ContractStatus =", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusNotEqualTo(String value) {
            addCriterion("ContractStatus <>", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusGreaterThan(String value) {
            addCriterion("ContractStatus >", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusGreaterThanOrEqualTo(String value) {
            addCriterion("ContractStatus >=", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusLessThan(String value) {
            addCriterion("ContractStatus <", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusLessThanOrEqualTo(String value) {
            addCriterion("ContractStatus <=", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusLike(String value) {
            addCriterion("ContractStatus like", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusNotLike(String value) {
            addCriterion("ContractStatus not like", value, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusIn(List<String> values) {
            addCriterion("ContractStatus in", values, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusNotIn(List<String> values) {
            addCriterion("ContractStatus not in", values, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusBetween(String value1, String value2) {
            addCriterion("ContractStatus between", value1, value2, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andContractstatusNotBetween(String value1, String value2) {
            addCriterion("ContractStatus not between", value1, value2, "contractstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusIsNull() {
            addCriterion("DemandStatus is null");
            return (Criteria) this;
        }

        public Criteria andDemandstatusIsNotNull() {
            addCriterion("DemandStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDemandstatusEqualTo(String value) {
            addCriterion("DemandStatus =", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusNotEqualTo(String value) {
            addCriterion("DemandStatus <>", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusGreaterThan(String value) {
            addCriterion("DemandStatus >", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusGreaterThanOrEqualTo(String value) {
            addCriterion("DemandStatus >=", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusLessThan(String value) {
            addCriterion("DemandStatus <", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusLessThanOrEqualTo(String value) {
            addCriterion("DemandStatus <=", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusLike(String value) {
            addCriterion("DemandStatus like", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusNotLike(String value) {
            addCriterion("DemandStatus not like", value, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusIn(List<String> values) {
            addCriterion("DemandStatus in", values, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusNotIn(List<String> values) {
            addCriterion("DemandStatus not in", values, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusBetween(String value1, String value2) {
            addCriterion("DemandStatus between", value1, value2, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andDemandstatusNotBetween(String value1, String value2) {
            addCriterion("DemandStatus not between", value1, value2, "demandstatus");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}